function SceneScene5(options) {
	this.options = options;
	

}

SceneScene5.prototype.initialize = function () {
	alert("SceneScene5.initialize()");
	// this function will be called only once when the scene manager show this scene first time
	// initialize the scene controls and styles, and initialize your variables here 
	// scene HTML and CSS will be loaded before this function is called
    this.container = GlobalContainer[0];
	$('#svecButton_X7LP').sfButton({text:'<', width:'40px'});
	$('#svecLabel_7KBS').sfLabel({text:'100', width:'40px'});
	$('#svecButton_L8PY').sfButton({text:'>', width:'40px'});
	$('#svecLabel_MC4C').sfLabel({text:'Brutalnosc', width:'100px'});
	$('#svecButton_BBEM').sfButton({text:'<', width:'40px'});
	$('#svecLabel_6S04').sfLabel({text:'100', width:'40px'});
	$('#svecButton_A24X').sfButton({text:'>', width:'40px'});
	$('#svecLabel_EV4D').sfLabel({text:'Romans', width:'100px'});
	$('#svecButton_4TEW').sfButton({text:'<', width:'40px'});
	$('#svecLabel_9BEW').sfLabel({text:'100', width:'40px'});
	$('#svecButton_XXYK').sfButton({text:'>', width:'40px'});
	$('#svecLabel_ENUI').sfLabel({text:'Humor', width:'100px'});
	
	fixButton('svecButton_X7LP');		//fixing buttons, some glitch with loosing style
	fixButton('svecButton_L8PY');
	fixButton('svecButton_BBEM');
	fixButton('svecButton_A24X');
	fixButton('svecButton_4TEW');
	fixButton('svecButton_XXYK');
	
    var cont = new UserControlGroup('serial UCG',1,3);
    cont.wrapFocus(true);
    cont.registerObject(new FuzzyUserControl($('#svecLabel_MC4C'),$('#svecButton_X7LP'),$('#svecLabel_7KBS'),$('#svecButton_L8PY')),0,0);
    cont.registerObject(new FuzzyUserControl($('#svecLabel_EV4D'),$('#svecButton_BBEM'),$('#svecLabel_6S04'),$('#svecButton_A24X')),1,0);
    cont.registerObject(new FuzzyUserControl($('#svecLabel_ENUI'),$('#svecButton_4TEW'),$('#svecLabel_9BEW'),$('#svecButton_XXYK')),2,0);
    var sc = $.sfScene.get('Scene3');
    sc.buttonContainer.registerObject(cont,1,1);
    
}




SceneScene5.prototype.handleShow = function () {
	alert("SceneScene5.handleShow()");
	// this function will be called when the scene manager show this scene 
}

SceneScene5.prototype.handleHide = function () {
	alert("SceneScene5.handleHide()");
	// this function will be called when the scene manager hide this scene  
}

SceneScene5.prototype.handleFocus = function () {
	alert("SceneScene5.handleFocus()");
	// this function will be called when the scene manager focus this scene
}

SceneScene5.prototype.handleBlur = function () {
	alert("SceneScene5.handleBlur()");
	// this function will be called when the scene manager move focus to another scene from this scene
}

SceneScene5.prototype.handleKeyDown = function (keyCode) {
	alert("SceneScene5.handleKeyDown(" + keyCode + ")");
	// TODO : write an key event handler when this scene get focued
	  if(this.container != null)
        this.container.handleInput(keyCode);
}
